package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

public class TmcEpidemicUserRecord  extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long publicuserId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String username;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String idnumber;

    /** 二维码值 */
    @Excel(name = "二维码值")
    private String qrcode;

    /** 打卡位置 */
    @Excel(name = "打卡位置")
    private String location;

    /** 症状描述 */
    @Excel(name = "症状描述")
    private String symptomdes;

    /** 温度 */
    @Excel(name = "温度")
    private Double temperature;

    /** 是否经过红色疫区 */
    @Excel(name = "是否经过红色疫区")
    private Long visitred;

    /** 是否经过橙色疫区 */
    @Excel(name = "是否经过橙色疫区")
    private Long visitorange;

    /** 当日更新次数 */
    @Excel(name = "当日更新次数")
    private Long updatecount;

    /** 行程卡附件 */
    @Excel(name = "行程卡附件")
    private String attachUrl;

    /** 行程卡信息 */
    @Excel(name = "行程卡信息")
    private String attachUrlInfo;

    /**创建时间*/
    @Excel(name = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createtime;

    /** 0未初始化。1绿2橙3红 */
    @Excel(name = "0未初始化。1绿2橙3红")
    private Long state;

    @Override
    public String toString() {
        return "TmcEpidemicUserRecord{" +
                "id=" + id +
                ", publicuserId=" + publicuserId +
                ", username='" + username + '\'' +
                ", idnumber='" + idnumber + '\'' +
                ", qrcode='" + qrcode + '\'' +
                ", location='" + location + '\'' +
                ", symptomdes='" + symptomdes + '\'' +
                ", temperature=" + temperature +
                ", visitred=" + visitred +
                ", visitorange=" + visitorange +
                ", updatecount=" + updatecount +
                ", attachUrl='" + attachUrl + '\'' +
                ", attachUrlInfo='" + attachUrlInfo + '\'' +
                ", createtime=" + createtime +
                ", state=" + state +
                '}';
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getPublicuserId() {
        return publicuserId;
    }

    public void setPublicuserId(Long publicuserId) {
        this.publicuserId = publicuserId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getIdnumber() {
        return idnumber;
    }

    public void setIdnumber(String idnumber) {
        this.idnumber = idnumber;
    }

    public String getQrcode() {
        return qrcode;
    }

    public void setQrcode(String qrcode) {
        this.qrcode = qrcode;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getSymptomdes() {
        return symptomdes;
    }

    public void setSymptomdes(String symptomdes) {
        this.symptomdes = symptomdes;
    }

    public Double getTemperature() {
        return temperature;
    }

    public void setTemperature(Double temperature) {
        this.temperature = temperature;
    }

    public Long getVisitred() {
        return visitred;
    }

    public void setVisitred(Long visitred) {
        this.visitred = visitred;
    }

    public Long getVisitorange() {
        return visitorange;
    }

    public void setVisitorange(Long visitorange) {
        this.visitorange = visitorange;
    }

    public Long getUpdatecount() {
        return updatecount;
    }

    public void setUpdatecount(Long updatecount) {
        this.updatecount = updatecount;
    }

    public String getAttachUrl() {
        return attachUrl;
    }

    public void setAttachUrl(String attachUrl) {
        this.attachUrl = attachUrl;
    }

    public String getAttachUrlInfo() {
        return attachUrlInfo;
    }

    public void setAttachUrlInfo(String attachUrlInfo) {
        this.attachUrlInfo = attachUrlInfo;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Long getState() {
        return state;
    }

    public void setState(Long state) {
        this.state = state;
    }
}